
package com.example.xlzx.service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.xlzx.entity.Appointment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.xlzx.entity.vo.AppointmentPageVo;

import java.util.List;

/**
 * <p>
 * 预约表 服务类
 * </p>
 *
 * @author 1
 * @since 2025-03-07
 */
public interface IAppointmentService extends IService<Appointment> {
    boolean insertAppointment(Appointment appointment);

    Page<AppointmentPageVo> appointmentPage(Page<Appointment> pageParam, String phone);

    List<AppointmentPageVo> selectAllAppointment(Long userId);

    Boolean appointmentConfig(Long appointId, Integer status);

    Page<AppointmentPageVo> appointmentDoctorPage(Long doctorId, Page<Appointment> pageParam);

}
